package demo.entity;

import java.io.*;
import java.sql.ResultSet;
import java.sql.SQLException;

import demo.dao.MemberDAO;
import demo.dbconnection.DBConnection;
import demo.logger.LoggerHelper;

public class Member
{
	private static MemberDAO memberdao;

	public Member()
	{
		memberdao = new MemberDAO();
	}

	public static void setName(String inName)
	{
		memberdao.setName(inName);
	}

	public static void setAddress(String inAddress)
	{
		memberdao.setAddress(inAddress);
	}

	public static void setJob(String inJob)
	{
		memberdao.setJob(inJob);
	}

	public static void save()
	{
		memberdao.save();
	}

	public static String getMaxId()
	{
		return memberdao.getMaxId();
	}

	public static ResultSet queryIdByName(String inName)
	{
		return memberdao.queryIdByName(inName);
	}
}